import request from '@/utils/request'

// 查询识别显示配置列表
export function listDisplay(query) {
  return request({
    url: '/wisdom/display/list',
    method: 'get',
    params: query
  })
}

// 查询识别显示配置详细
export function getDisplay(id) {
  return request({
    url: '/wisdom/display/' + id,
    method: 'get'
  })
}

// 新增识别显示配置
export function addDisplay(data) {
  return request({
    url: '/wisdom/display',
    method: 'post',
    data: data
  })
}

// 修改识别显示配置
export function updateDisplay(data) {
  return request({
    url: '/wisdom/display',
    method: 'put',
    data: data
  })
}

// 删除识别显示配置
export function delDisplay(id) {
  return request({
    url: '/wisdom/display/' + id,
    method: 'delete'
  })
}
